/**
 *  ward @ 2019
 *  harrydeep@wardyan.top
 */
package top.wardyan.po;

import org.eclipse.swt.SWT;
import org.eclipse.swt.graphics.Rectangle;
import org.eclipse.swt.widgets.Composite;

import top.wardyan.base.config.Const;

/**
 * 
 * @author ward 2019年2月24日
 */
public class WLabelTitle extends WLabel{
	
	private static final Integer HEIGHT = 50;

	/** 自定义的 Label**/
	public WLabelTitle(Composite parent, String text) {
		super(parent, new Rectangle(0, 20, parent.getSize().x, HEIGHT), Const.FONT_H3, text);
		this.setBackground(Const.COLOR_WHITE);
		this.setAlignment(SWT.CENTER);
	}
	

}
